package com.ftg.learn.Dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.client.RestTemplate;

//消费
//..从生产者

@FeignClient("SHENGCHANZHE")
public interface Dao {


@GetMapping("/helloworld")
    public String hello();




}
